package framework.common;

import java.util.ArrayList;
import java.util.List;

import framework.utils.SharedPreferencesUtils;

/**
 * Created by het9330 on 2016/7/1.
 * 主要定义一些全应用级别的常量和不同的类型
 */
public class Constant {

    //请求方式
    public static final int POST=1;
    public static final int GET=2;
    public static final int PUT=3;
    public static final int DELETE=4;
    public static String device_type="20";
    public static String token="token";
    public static String pushId="pushId";//推送Id
    public static String userId="userId";//主键ID
    public static String ifadmin="ifadmin";//是否管理员
    public static String nickName="nickName";//昵称
    public static String userName="userName";//姓名
    public static String phoneNum="phoneNum";//登录账号手机号
    public static String face="face";//头像
    public static String address="address";//收货地址
    public static String company="company";//公司名称
    public static String check="check";//记住密码
    public static String city="city";//城市
    public static String pro="pro";//城市
    public static final String splash = "splash";//引导页
    public static final String location = "location";//首页的当前位置地址
    public static final String Latitude="Latitude";
    public static final String Longitude="Longitude";
    public static String accessKeyId="LTAI9Pshz3Wypf0J";
    public static String accessKeySecret="O9VrWnr2p9uW81k57FKYguavA1yumC";
    public static final String endpoint = "https://oss-cn-beijing.aliyuncs.com";
    public static final String enp=".oss-cn-beijing.aliyuncs.com";
    public static final String testBucket = "leftright";
    public static final String uploadObject = "pic/app/"+ SharedPreferencesUtils.getSharedPreferences(Constant.userId,"")+"/"+System.currentTimeMillis() + ".png";
    public static final String uploadVideoObject = "video/app/"+ SharedPreferencesUtils.getSharedPreferences(Constant.userId,"")+"/"+System.currentTimeMillis() + ".mp4";
}
